package homeWork.two.demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2022-11-30
 * Time: 16:46
 */
public class App {
    public static void main(String[] args) {
        Circle circle1 = new Circle();
        circle1.setR(3);
        System.out.println(circle1.getArea());
        System.out.println(circle1.getPerimeter());
        Circle circle2 = new Circle();
        circle2.setR(4);
        System.out.println(circle2.getArea());
        System.out.println(circle2.getPerimeter());
    }
}
